type of constructors in python